package cn.qicaiwang.open.system.service;

import cn.qicaiwang.open.system.model.dto.SystemUnitDTO;
import cn.qicaiwang.open.system.model.entity.SystemUnit;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ISystemUnitService extends IService<SystemUnit> {
    boolean add(SystemUnitDTO systemUnitDTO);

    boolean delete(SystemUnit systemUnit);

    boolean modify(SystemUnitDTO systemUnitDTO);

    Boolean restore(List<String> ids);

    Boolean clear();

    Page<SystemUnit> recyclebin(Page page);
}
